package com.jiang.action;

import com.opensymphony.xwork2.ActionSupport;

@SuppressWarnings("serial")
public class InterceptorDemoAction extends ActionSupport {

	private String msg;

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public String add() {
		System.out.println("执行了添加方法!msg属性值为:" + this.msg);
		return "forward.page";
	}

}
